<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>更新用户</h1>
<form th:action="@{/updatePersoncommit}" method="post">
  <p>id:<input type="text" name="id" th:value="${id}"><p>
  <p>用户名:<input type="text" name="name" th:value="${name}"><p>
  <p> 年龄：<input type="text" name="age" th:value="${age}"><p>
  <p><input type="submit" value="提交"><p>
</form>
</body>
</html>